//
// Created by Apple on 2021/5/30.
//

#ifndef RANDOM_HPP
#define RANDOM_HPP

#include <random>
#include <chrono>
#include <sstream>

namespace TWT {
namespace Util {

class Random {
public:
    static std::default_random_engine  engine;
    static std::uniform_int_distribution<uint32_t> distribution;

    static uint32_t rand();
    static std::string random();

private:
    static std::stringstream  ss_;
};

} //Util
}//TWT


#endif //RANDOM_HPP
